package com.my.dao;

import com.my.entity.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserInfoMapper {
    List<UserInfo> getList();

    int deleteUserInfo(@Param("id") Long id);

    int addUserInfo(UserInfo userInfo);
}
